<?php
/* 前台配置 */
    return array(
        //腾讯QQ登录配置
        'THINK_SDK_QQ' => array(
            
            'APP_KEY'      => '101288610', //应用注册成功后分配的 APP ID
            'APP_SECRET'   => '865c5762932f34bade66eccf6d29e647', //应用注册成功后分配的KEY
            'CALLBACK'     => 'http://blog.findz.cn',//回调地址
            // 修改后，请记得的修改 View/header.html中的 qqadmin 值
        ),

        'URL_ROUTER_ON'    => true,   //开启路由
        //路由规则
        'URL_ROUTE_RULES' => array(
        '/^index$/'                             =>  'Index/index',
        '/^about$/'                             =>  'About/index', 
        '/^said$/'                              =>  'Said/index',
        '/^said\/p\/(\d{1,})$/'                 =>  'Said/index?p=:1',
        '/^gustbook$/'      	                =>  'Gustbook/index',
        '/^gustbook\/(\d{1,})$/'                =>	'Gustbook/index?page=:1',
        '/^class-(\d{1,})\/page\/(\d{1,})$/'    =>  'Class/index?id=:1&page=:2',
        '/^class-(\d)$/'                        =>  'Class/index?id=:1',
        '/^article-(\d{1,5})$/'                 =>  'Article/index?id=:1',
    ),

    /* 模板相关配置 */
    'TMPL_PARSE_STRING' => array(
        '__COMMON__' => __ROOT__ . '/Public/Common',
        '__DOCUMENT__' => __ROOT__ . '/Public/Document',
        '__IMG__'    => __ROOT__ . '/Public/' . MODULE_NAME . '/img',
        '__CSS__'    => __ROOT__ . '/Public/' . MODULE_NAME . '/css',
        '__JS__'     => __ROOT__ . '/Public/' . MODULE_NAME . '/js',
    ),
    
);